package com.taotao.service.impl;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.mapper.TbItemDescMapper;
import com.taotao.pojo.TbItemDesc;
import com.taotao.service.ItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ItemDescServiceImpl implements ItemDescService {
	@Autowired
	private TbItemDescMapper tbItemDescMapper;

	public TaotaoResult getItemDescById(long id) {
		TbItemDesc tbItemDesc =tbItemDescMapper.selectByPrimaryKey(id);
		return TaotaoResult.ok(tbItemDesc);
	}
}
